Unable to connect to SSL due to javax.net.ssl.SSLHandshakeException